SwedbankPay\Payments\WooCommerce\WC_Swedbank_Plugin C

Total Complexity 105
Dependencies 9
Dependents 4
Total lines 867
Lines of code 545
Logical lines of code 270
Comment lines 186
Methods 30
Properties 1

Methods 30

Method Rating Maintainability Complexity Lines of code
support_submit()
A
36 11 83
billing_phone()
A
50 11 27
may_add_notice()
A
50 10 26
check_dependencies()
S
50 5 33
get_log_files()
S
58 6 15
add_action_buttons()
S
54 5 21
includes()
S
55 5 19
order_meta_box_payment_actions()
S
50 4 30
add_meta_boxes()
S
55 4 20
register_gateway()
S
57 4 19
support_page()
S
56 4 18
admin_menu()
S
57 4 18
ajax_swedbank_pay_capture()
S
56 4 18
ajax_swedbank_pay_cancel()
S
56 4 18
admin_enqueue_scripts()
S
57 4 15
__construct()
S
50 2 28
add_valid_order_statuses()
S
62 2 13
upgrade_notice()
S
55 1 25
migration_notice()
S
56 1 23
missing_woocommerce_notice()
S
56 1 23
upgrade_page()
S
66 2 8
migration_page()
S
66 2 8
install()
S
71 2 6
plugin_action_links()
S
61 1 13
payment_description()
S
81 1 3
maybe_process_queue()
S
81 1 3
woocommerce_hook_loaded()
S
79 1 3
woocommerce_init()
S
75 1 4
init()
S
91 1 2
generate_uuid()
S
77 1 3